package com.hice.demo.java.design.pattern.factory;

/**
 * 静态工厂方法模式
 *
 * Created by echal on 2016/2/2.
 */
public class MsgSenderFactoryTest {

    public static void main(String[] args) {
        MsgSender sender = MsgSenderFactory.produceEmail();
        sender.msgSend();
    }

}
